package com.woniu.his.service.impl;

import com.woniu.his.dao.HospitalizationInfoMapper;
import com.woniu.his.entity.HospitalizationInfo;
import com.woniu.his.service.InhospitalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class InhospitalServiceImpl implements InhospitalService {
    @Autowired
    private HospitalizationInfoMapper hospitalizationInfoMapper;

    @Override
    public List<Map> queryAllInhospitalInfo() {
        List<Map> hospitalizationInfos = hospitalizationInfoMapper.queryAllInhospitalInfo();
        return hospitalizationInfos;
    }
}
